package com.jason.lifecycleview;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.jason.lifecycleview.view.CustomCheckBox;

public class MainActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_main);
        setContentView(R.layout.custom_framelayout);



        CustomCheckBox customCheckBox = (CustomCheckBox) findViewById(R.id.custom_check);

        customCheckBox.setCustomCheckBoxChangeListener(new CustomCheckBoxChangeListener() {
            @Override
            public void customCheckBoxOn() {

            }

            @Override
            public void customCheckBoxOff() {

            }
        });



    }
}
